1 general:: Subdue or get rid of someone, deal with a troublemaker, as in If John starts another argument we know just how to settle his hash. This term, dating from about 1800, uses hash in the sense of "a mess."
American Heritage Idioms